/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ie.tcd.cs.railtickets.agent.service;

import ie.tcd.cs.railtickets.commons.dto.PriceInfoDTO;
import ie.tcd.cs.railtickets.commons.dto.TicketDTO;
import java.util.Date;
import java.util.List;
import org.jgrapht.Graph;

/**
 *
 * @author Wenbo Sun
 */
public interface RequestService {

    public List<TicketDTO> bookTicketsRequest(long pathTimeId, Date travelDate, int sum, String operatorName);

    public List<PriceInfoDTO> getPriceInfosRequest(String sourceStation, String destinationStation, Date travelDate, String operatorName);

    public Graph getRailsGraphRequest(String operatorName);

    public boolean cancelTicketRequest(String ticketNo, String operatorName);
}
